package com.softwarerusher.model;

import java.util.HashSet;
import java.util.Set;

/**
 * TBook entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TBook implements java.io.Serializable {

	// Fields

	private String bookIsbn;
	private TPress TPress;
	private TCategory TCategory;
	private TAttr TAttr;
	private String bookName;
	private String bookAuthor;
	private String bookPic;
	private String bookDescription;
	private Double bookPrice;
	private Integer bookSellsum;
	private Set TOrderdetails = new HashSet(0);
	private Set TStocks = new HashSet(0);
	private Set TRentdetails = new HashSet(0);
	private Set TDiscounts = new HashSet(0);
	private Set TReturnbookdetails = new HashSet(0);
	private Set TOutstoredetails = new HashSet(0);
	private Set TSelldetails = new HashSet(0);
	private Set TJiacuns = new HashSet(0);
	private Set TInstoredetails = new HashSet(0);
	private Set TBookreturndetails = new HashSet(0);

	// Constructors

	/** default constructor */
	public TBook() {
	}

	/** minimal constructor */
	public TBook(String bookIsbn, TPress TPress, TCategory TCategory,
			TAttr TAttr, String bookName, String bookAuthor, String bookPic,
			Double bookPrice) {
		this.bookIsbn = bookIsbn;
		this.TPress = TPress;
		this.TCategory = TCategory;
		this.TAttr = TAttr;
		this.bookName = bookName;
		this.bookAuthor = bookAuthor;
		this.bookPic = bookPic;
		this.bookPrice = bookPrice;
	}

	/** full constructor */
	public TBook(String bookIsbn, TPress TPress, TCategory TCategory,
			TAttr TAttr, String bookName, String bookAuthor, String bookPic,
			String bookDescription, Double bookPrice, Integer bookSellsum,
			Set TOrderdetails, Set TStocks, Set TRentdetails, Set TDiscounts,
			Set TReturnbookdetails, Set TOutstoredetails, Set TSelldetails,
			Set TJiacuns, Set TInstoredetails, Set TBookreturndetails) {
		this.bookIsbn = bookIsbn;
		this.TPress = TPress;
		this.TCategory = TCategory;
		this.TAttr = TAttr;
		this.bookName = bookName;
		this.bookAuthor = bookAuthor;
		this.bookPic = bookPic;
		this.bookDescription = bookDescription;
		this.bookPrice = bookPrice;
		this.bookSellsum = bookSellsum;
		this.TOrderdetails = TOrderdetails;
		this.TStocks = TStocks;
		this.TRentdetails = TRentdetails;
		this.TDiscounts = TDiscounts;
		this.TReturnbookdetails = TReturnbookdetails;
		this.TOutstoredetails = TOutstoredetails;
		this.TSelldetails = TSelldetails;
		this.TJiacuns = TJiacuns;
		this.TInstoredetails = TInstoredetails;
		this.TBookreturndetails = TBookreturndetails;
	}

	// Property accessors

	public String getBookIsbn() {
		return this.bookIsbn;
	}

	public void setBookIsbn(String bookIsbn) {
		this.bookIsbn = bookIsbn;
	}

	public TPress getTPress() {
		return this.TPress;
	}

	public void setTPress(TPress TPress) {
		this.TPress = TPress;
	}

	public TCategory getTCategory() {
		return this.TCategory;
	}

	public void setTCategory(TCategory TCategory) {
		this.TCategory = TCategory;
	}

	public TAttr getTAttr() {
		return this.TAttr;
	}

	public void setTAttr(TAttr TAttr) {
		this.TAttr = TAttr;
	}

	public String getBookName() {
		return this.bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public String getBookAuthor() {
		return this.bookAuthor;
	}

	public void setBookAuthor(String bookAuthor) {
		this.bookAuthor = bookAuthor;
	}

	public String getBookPic() {
		return this.bookPic;
	}

	public void setBookPic(String bookPic) {
		this.bookPic = bookPic;
	}

	public String getBookDescription() {
		return this.bookDescription;
	}

	public void setBookDescription(String bookDescription) {
		this.bookDescription = bookDescription;
	}

	public Double getBookPrice() {
		return this.bookPrice;
	}

	public void setBookPrice(Double bookPrice) {
		this.bookPrice = bookPrice;
	}

	public Integer getBookSellsum() {
		return this.bookSellsum;
	}

	public void setBookSellsum(Integer bookSellsum) {
		this.bookSellsum = bookSellsum;
	}

	public Set getTOrderdetails() {
		return this.TOrderdetails;
	}

	public void setTOrderdetails(Set TOrderdetails) {
		this.TOrderdetails = TOrderdetails;
	}

	public Set getTStocks() {
		return this.TStocks;
	}

	public void setTStocks(Set TStocks) {
		this.TStocks = TStocks;
	}

	public Set getTRentdetails() {
		return this.TRentdetails;
	}

	public void setTRentdetails(Set TRentdetails) {
		this.TRentdetails = TRentdetails;
	}

	public Set getTDiscounts() {
		return this.TDiscounts;
	}

	public void setTDiscounts(Set TDiscounts) {
		this.TDiscounts = TDiscounts;
	}

	public Set getTReturnbookdetails() {
		return this.TReturnbookdetails;
	}

	public void setTReturnbookdetails(Set TReturnbookdetails) {
		this.TReturnbookdetails = TReturnbookdetails;
	}

	public Set getTOutstoredetails() {
		return this.TOutstoredetails;
	}

	public void setTOutstoredetails(Set TOutstoredetails) {
		this.TOutstoredetails = TOutstoredetails;
	}

	public Set getTSelldetails() {
		return this.TSelldetails;
	}

	public void setTSelldetails(Set TSelldetails) {
		this.TSelldetails = TSelldetails;
	}

	public Set getTJiacuns() {
		return this.TJiacuns;
	}

	public void setTJiacuns(Set TJiacuns) {
		this.TJiacuns = TJiacuns;
	}

	public Set getTInstoredetails() {
		return this.TInstoredetails;
	}

	public void setTInstoredetails(Set TInstoredetails) {
		this.TInstoredetails = TInstoredetails;
	}

	public Set getTBookreturndetails() {
		return this.TBookreturndetails;
	}

	public void setTBookreturndetails(Set TBookreturndetails) {
		this.TBookreturndetails = TBookreturndetails;
	}

}